﻿using System;
using System.Collections.Generic;
using System.Linq;

using Recon.Portal.DataObjects;
using Recon.Portal.Data;

namespace Recon.Portal.Business
{
    public class Utilities
    {

        #region: Public Constructor
        public Utilities()
        {

        }
        #endregion

        #region: Public Methods
        public List<MenuItem> GetAllMenuItems(bool systemIncluded)
        {
            DBFactory db = new DBFactory();
            return db.GetAllMenus(systemIncluded);
        }

        public List<MenuItem> GetMenuForRole(string RoleID)
        {
            DBFactory db = new DBFactory();
            return db.GetMenuForRole(RoleID);
        }
        #endregion

    }
}